//学科接口
import {post} from '../ck/plugin/axios'

class CompanySubject{
  //获取学科的列表
  static async PageSearch(data){
    return post('api/Manage/CompanySubject/PageSearch',data)
  }
  //获取学科的集合
  static async PageSearchList(data)
  {
    return post('api/Manage/CompanySubject/PageSearchList',data)
  }

  //新增
  static async Add(data){
    return post('api/Manage/CompanySubject/Add',data)
  }

  //查询详情
  static async SearchModelDetails(data){
    return post('api/Manage/CompanySubject/SearchModelDetails',data)
  }

  //修改
  static async Update(data){
    return post('api/Manage/CompanySubject/Update',data)
  }

  //启停状态
  static async UpdateStatus(data){
    return post('api/Manage/CompanySubject/UpdateStatus',data)
  }

  //删除
  static async Delete(data){
    return post('api/Manage/CompanySubject/Delete',data)
  }

  //排序
  static async SetSortMethod(ID	,Sort,Type,ExtendID){
    return post('api/Manage/CompanySubject/SetSortMethod',{
      ID	,Sort,Type,ExtendID
    })
  }


}

export default CompanySubject
